Gray Codes Faulting Matchings
نویسندگان
چکیده
A (cyclic) n-bit Gray code is a (cyclic) ordering of all 2 binary strings of length n such that consecutive strings differ in a single bit. Equivalently, an nbit Gray code can be viewed as a Hamiltonian path of the n-dimensional hypercube Qn, and a cyclic Gray code as a Hamiltonian cycle of Qn. In this paper we study Hamiltonian paths and cycles of Qn avoiding a given set of faulty edges that form a matching, briefly called (cyclic) Gray codes faulting a given matching. Given a matching M and two vertices u, v of Qn, n ≥ 4, our main result provides a necessary and sufficient condition, expressed in terms of forbidden configurations for M , for the existence of a Gray code between u and v faulting M . As a corollary, we obtain a similar characterization for a cyclic Gray code faulting M . In particular, in case that M is a perfect matching, Qn has a (cyclic) Gray code faulting M if and only if Qn − M is a connected graph. This complements a recent result of Fink, who proved that every perfect matching of Qn can be extended to a Hamiltonian cycle. Furthermore, our results imply that the problem of Hamiltonicity of Qn with faulty edges, which is NP-complete in general, becomes polynomial for up to 2 edges provided they form a matching.
منابع مشابه
Gray Images of Constacyclic Codes over some Polynomial Residue Rings
Let be the quotient ring where is the finite field of size and is a positive integer. A Gray map of length over is a special map from to ( . The Gray map is said to be a ( )-Gray map if the image of any -constacyclic code over is a -constacyclic code over the field . In this paper we investigate the existence of ( )-Gray maps over . In this direction, we find an equivalent ...
متن کاملGray Codes Avoiding Matchings
A (cyclic) n-bit Gray code is a (cyclic) ordering of all 2 binary strings of length n such that consecutive strings differ in a single bit. Equivalently, an n-bit Gray code can be viewed as a Hamiltonian path of the n-dimensional hypercube Qn, and a cyclic Gray code as a Hamiltonian cycle of Qn. In this paper we study (cyclic) Gray codes avoiding a given set of faulty edges that form a matching...
متن کاملPerfect Matchings in Edge-Transitive Graphs
We find recursive formulae for the number of perfect matchings in a graph G by splitting G into subgraphs H and Q. We use these formulas to count perfect matching of P hypercube Qn. We also apply our formulas to prove that the number of perfect matching in an edge-transitive graph is , where denotes the number of perfect matchings in G, is the graph constructed from by deleting edges with an en...
متن کاملNear optimal single-track Gray codes
Single-track Gray codes are a special class of Gray codes which have advantages over conventional Gray codes in certain quantization and coding applications. The problem of constructing high period single-track Gray codes is considered. Three iterative constructions are given, along with a heuristic method for obtaining good seed-codes. In combination, these yield many families of very high per...
متن کاملProjective Planes, Coverings and a Network Problem
A problem concerning packet switched networks leads to a natural combinatorial design problem, whose solution involves (k; n)-arcs in projective planes, 3-dimensional linear codes, the theory of fractional matchings and designs which approximate projective planes.
متن کامل